package listeners;

import game.Level;

import java.util.EventObject;

public class LevelEvent extends EventObject {
	
	private static final long serialVersionUID = 1L;

	private final Level level;
	private final int points;
	
	public LevelEvent(Object source, Level level, int points) {
		super(source);
		this.level = level;
		this.points = points;
	}
	
	public int getPoints() {
		return points;
	}
	
	public Level getLevel() {
		return level;
	}

}
